package com.bee.common.tools.web;

public class PermissionConvert {

    public static String permission(String method){
        switch (method){
            case "post":
                return "create";
            case "get":
                return "read";
            case "put":
                return "update";
            case "delete":
                return "delete";
            case "header":
                return "read";
            case "options":
                return "read";
            default:return "";
        }
    }
}
